Skip to content

refactor(@angular-devkit/build-angular): remove direct require usage from Angular version check#27185

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:build-angular-esm-compliance-1
Mar 4, 2024
Merged

refactor(@angular-devkit/build-angular): remove direct require usage from Angular version check#27185
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:build-angular-esm-compliance-1

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Feb 29, 2024

To support future package building as ESM, the direct usage of require has now been removed from the Angular compatibility check code used by various builders. Additionally, the limited use of @angular-devkit/core has also been removed from the check code as it was only used to adjust string values for error messages which can be done directly instead.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Feb 29, 2024
…from Angular version check

To support future package building as ESM, the direct usage of require has now been
removed from the Angular compatibility check code used by various builders.
Additionally, the limited use of `@angular-devkit/core` has also been removed from
the check code as it was only used to adjust string values for error messages which
can be done directly instead.
@clydin clydin force-pushed the build-angular-esm-compliance-1 branch from ac3bcdb to c63c00a Compare February 29, 2024 20:59
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Feb 29, 2024
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 4, 2024
@alan-agius4 alan-agius4 merged commit 14189b2 into angular:main Mar 4, 2024
@clydin clydin deleted the build-angular-esm-compliance-1 branch March 4, 2024 12:37
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants